/*
 *  Copyright (c) Skrumtious
 */
package com.skrumtious.backend;

import java.io.Serializable;

import com.skrumtious.backend.persistence.SkrumItem;

/**
 * @author Tony
 *
 */
public class DoAddSkrumItemRequest extends AbstractSkrumRequest implements Serializable {

	/**
	 * SUID
	 */
	private static final long serialVersionUID = 3089233779744895683L;
	
	/**
	 * Tab index
	 */
	private int tabId;
	
	/**
	 * Item
	 */
	private SkrumItem skrumItem;

	/**
	 * @param skrumItem
	 */
	public DoAddSkrumItemRequest(String userId, int tabId, SkrumItem skrumItem) {
		super(userId);
		this.tabId = tabId;
		this.skrumItem = skrumItem;
	}

	/**
	 * @return the skrumItem
	 */
	public SkrumItem getSkrumItem() {
		return skrumItem;
	}

	/**
	 * @param skrumItem the skrumItem to set
	 */
	public void setSkrumItem(SkrumItem skrumItem) {
		this.skrumItem = skrumItem;
	}

	/**
	 * @return the tabId
	 */
	public int getTabId() {
		return tabId;
	}

	/**
	 * @param tabId the tabId to set
	 */
	public void setTabId(int tabId) {
		this.tabId = tabId;
	}		
}
